package com.todo.biz.iface.backend.request;

import com.todo.common.utils.StringUtils;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author azhebuxing
 * @date 2024/12/9 16:25
 * @description
 */
@Data
@Schema(title = "查询字典详情请求参数", description = "查询字典详情请求参数")
public class QueryDictDetailReq {
    /**
     * 业务code
     */
    @Schema(title = "业务code", description = "业务code")
    private String bizCode;
    /**
     * 场景code
     */
    @Schema(title = "场景code", description = "场景code")
    private String sceneCode;

    public boolean baseCheck() {
        if (StringUtils.isBlank(bizCode) || StringUtils.isBlank(sceneCode)) {
            return false;
        }
        return true;
    }
}
